package tomcat.processor;

import tomcat.connector.Request;
import tomcat.connector.Response;

import java.io.IOException;

/**
 * 静态资源处理组件
 */
public class StaticProcessor {
    public void process(Request request, Response response){
        try {
            response.sendStaticResource();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
